Part Number Hot Search : 
B0922BA1 HYB25 M400070 SST25VF 06PBF SMCJ36A LT1EP53A SC460308
Product Description
Full Text Search
 

To Download ML22Q394 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  fedl22q394-02 issue date: jun. 06, 2014 ML22Q394 adpcm speech synthesis lsi 1/42 general description ml22394 is voice synthesis lsi with built-in flash memory that stores speech data. this lsi includes edit rom, adpcm2 decoder, low pass filter and d-class speaker amplifier. also, ml22394 support the i2c interface. by integrating all the functions required for voice output into a single chip, this lsi can be more easily incorporated in compact portable devices. ? built-in memory capacity and maximum playback time: maximum playback time (sec) (at f s =8.0khz) product name rom capacity 4bitadpcm2 16bitpcm ML22Q394-xxx 692 kbits 22.1 5.5 notes: rom capacity shows the numerical value of only a voice area. ? voice synthesis method: 4-bit adpcm2 8-bit nonlinear pcm 8-bit pcm , 16-bit pcm can be specified for each phrase. ? speech rom capacity ML22Q394: 692-kbit flash ? sampling frequency(fs): 6.4 / 8.0 / 10.7 / 12.8 / 16.0 / 21.3 / 25.6 / 32.0 khz f s can be specified for each phrase. ? analog output: built-in d-class amplifier ? cpu command interface: i2c interface ? maximum number of phrases: 30 phrases ? disconnection detection function /speaker pin short detection function ? source oscillation frequency: 4.096 mhz(internal) ? power supply voltage: 2.0 to 5.5v ? flash memory rewritable time: 80 times ? operating temperature range: ?40 to +85 c ? package: 16-pin plastic ssop ? product name: ML22Q394-nnnmb, ML22Q394-xxxmb(xxx: rom code no.)
fedl22q394-02 ML22Q394 2/42 the following table shows the differences among the other speech synthesis lsis. parameter ml22330/ ml22q330 ml22q374 ml22q384 ML22Q394 cpu interface serial event input i2c memory capacity 640kbit 692kbit playback method 4-bit adpcm2 8-bit nonlinear pcm 8-bit straight pcm 16-bit straight pcm maximum number of phrases 30 sampling frequency (khz) 6.4/8.0/10.6/ 12.0/12.8/16.0/ 21.3/25.6/32.0 clock frequency 4.096mhz (with a built-in crystal oscillator circuit) 4.096mhz (internal oscillation) low-pass filter fir interpolation filter speaker driving amplifier built-in ab-class 0.7w (8 ? , dv dd = 5 v) built-in d-class 1.0w (8 ? , dv dd = 5 v) edit rom function yes volume control 32 levels silence insertion yes 20 ms to 1024 ms (4 ms/step) repeat function yes power supply voltage 2.3 v to 5.5 v 2.0 v to 5.5 v operating temperature range ?40 to +85 c package 30-pin ssop 16-pin ssop
fedl22q394-02 ML22Q394 3/42 block diagrams (ML22Q394-nnn) timing controller i2c interface phrase address latch address controller 16bit address counter lpf csb scl sda test busyb v dd gnd osc (internal) reset_n output interface 16bit multiplexer adpcm/pcm synthesizer 692kbit flash regulator v dd l vpp d-class speaker amplifier spm spp spv dd spgnd
fedl22q394-02 ML22Q394 4/42 pin configurations (top view) (ML22Q394-nnnmb/ml22394- xxxmb) 16-pin plastic ssop spp spm spgnd spv dd busyb dgnd v ddl dv dd 1 2 3 4 5 6 7 8 reset_n test vpp nc nc scl sda csb 16 15 14 13 12 11 10 9 nc unused pin
fedl22q394-02 ML22Q394 5/42 pin description pin symbol i/o initial value (at the reset_n input) initial value (at standby) description 1 spp o hi-z hi-z positive(+) output pin of the speaker amplifier built-in 2 spm o hi-z hi-z negative(-) output pin of the speaker amplifier built-in. 3 spgnd ? ? ? ground pin for the speaker amplifier. 4 spv dd ? ? ? power supply pin for the speaker amplifier. connect a bypass capacitor of 1 f or more between this pin and spgnd pin. 5 busyb o hi-z 1 busy output pin. when busyb use mode is set, the "l" level is outputted during playback. at the time of a disconnection detection function, when disconnection is detected, the "l" level is outputted. in addition, when busyb use mode is not set, the initial value is outputted. 6 dgnd ? ? ? digital ground pin. 7 v ddl ? ? ? regulator output pin for internal logic circuitry. connect a capacitor of 10 f or more between this pin and dgnd pin 8 dv dd ? ? ? power supply pins for logic circuitry. connect a capacitor of 1 f or more between this pin and dgnd pin. 9 csb i 1 1 chip select pin, when csb use mode is set. at the ?l? level, data input is available. when csb use mode is not set, this pin should be fixed to ?h? level od ?l? level. 10 sda i 1 1 input pin for i2c serial data. use for setting the mode of write and writing address, writing data. this pin should be connected to pull-up resistor. 11 scl i 1 1 clock input pin for i2c serial interface. this pin should be connected to pull-up resistor. 14 vpp ? ? ? power supply pin for rewriting flash memory. fix this pin to gnd except when rewriting flash memory. 15 test i 0 0 test pin. fix this pin to a dgnd level. 16 reset_n i 0 1 at the ?l? level, the lsi enters initial state. after the power supply voltage is stable, drive this pin to ?h? level.
fedl22q394-02 ML22Q394 6/42 absolute maximum ratings (dgnd = spgnd = 0 v) parameter symbol condition rating unit power supply voltage dv dd ? 0.3 to +7.0 v speaker power supply voltage spv dd ? 0.3 to +7.0 v internal logic power supply voltage v ddl ? 0.3 to +3.6 v flash power supply voltage vpp ? 0.3 to +9.5 v input voltage v in ? 0.3 to dv dd +0.3 v power dissipation p d ta=25c 1 w i sc1 except spp pin, spm pin -12 to +11 ma output short-circuit current i sc2 spp pin, spm pin 300 ma storage temperature t stg ? ? 55 to +150 c recommended operating conditions (dgnd = spgnd = 0 v) parameter symbol condition range unit ? 2.0 to 5.5 power supply voltage dv dd flash memory write 2.7 to 5.5 v speaker power supply voltage spv dd ? 2.0 to 5.5 v flash power supply voltage v pp flash memory write 7.7 to 8.3 v flash memory rewrite cycles n ? 80 ? t op1 ? ? 40 to +85 operating temperature t op2 flash memory write 0 to +40 c
fedl22q394-02 ML22Q394 7/42 electrical characteristics dc characteristics dv dd = spv dd = 2.0 to 5.5 v, dgnd = agnd = 0 v, ta = ? 40 to +85c parameter symbol condition min. typ. max. unit ?h? input voltage v ih ? 0.7 dv dd ? dv dd v ?l? input voltage v il ? 0 ? 0.3 dv dd v ?h? output voltage 1 v oh1 i oh = ? 0.5 ma dv dd ? 0.5 ? ? v ?l? output voltage 1 v ol1 i ol = 0.5 ma ? ? 0.5 v ?h? input current 1 i ih1 v ih = dv dd ? ? 1 a ?h? input current 2 i ih2 v ih = dv dd test pin 0.02 0.3 1.5 ma ?l? input current 1 i il1 v il = dgnd ? 1 ? ? a ?l? input current 2 i il2 v il = dgnd reset_n pin ? 1.5 ? 0.3 ? 0.02 ma ?l? input current 3 i il3 v il = dgnd csb pull-up input ? 1.5 ? 0.3 ? 0.02 ma ?h? output current 1 i ooh1 v oh = dv dd = spv dd (high impedance) busyb pin, spp pin, spm pin ? ? 1 a ?h? output current 2 i ooh2 v oh = dv dd (nch open drain) busyb pin ? ? 1 a ?l? output current 1 i ool1 v ol = dgnd = spgnd (high impedance) busyb pin, spp pin, spm pin ? 1 ? ? a ?l? output current 1 i ool2 v ol = dgnd (pch open drain) busyb pin ? 1 ? ? a i dd1 no output load, dv dd = 3.0v ? 4.0 6.0 supply current during playback i dd2 no output load, dv dd = 5.0v ? 6.0 10 ma awaiting command supply current i ddc1 dv dd = spv dd = 5.0v ? 3.0 5.0 ma i dds1 ta = ? 40 to +40c ? 0.5 3.0 standby supply current i dds2 ta = ? 40 to +85c ? 0.5 8.0 a ta = ? 10 to +50c 4.034 4.096 4.158 source oscillation frequency f osc ta = ? 40 to +85c 3.973 4.096 4.219 mhz characteristics of analog circuitry dv dd = spv dd = 2.0 to 5.5 v, dgnd = spgnd = 0 v, ta = ? 40 to +85c parameter symbol condition min. typ. max. unit spm, spp output load resistance r lsp ? 8 ? ? ? speaker amplifier output power p spo spv dd = 5.0v, f = 1khz r spo = 8 ? , thd 10% ? 1.0 ? w
fedl22q394-02 ML22Q394 8/42 ac characteristics dv dd = spv dd = 2.0 to 5.5 v, dgnd = spgnd = 0 v, ta = ? 40 to +85c parameter symbol condition min. typ. max. unit reset_n input pulse width t rst ? 100 ? ? s start time spv dd after starting dv dd t vdd ? 0 ? ? ns initialization time after reset release t init ? ? ? 20 ms busyb change time from "l" to "h",after reset_n fall edge t bsyr ? ? ? 500 ns scl clock frequence t scl i2c fast mode 0 ? 400 khz hold time (repeated) start condition after this period, the first clock pulse is generated. t hd;sta i2c fast mode 0.6 ? ? s scl ?l? level pulse width t low i2c fast mode 1.3 ? ? s scl ?h? level pulse width t high i2c fast mode 0.6 ? ? s setup time for repeated start condition t su;sta i2c fast mode 0.6 ? ? s data hold time: for i2c bus devices t hd;dat i2c fast mode 0 ? 0.9 s data setup time t su;dat i2c fast mode 100 ? ? ns sda and scl signal rise time t r i2c fast mode 20 ? 300 ns sda and scl signal fall time t f i2c fast mode 20 ? 300 ns stop condition setup time t su;sto i2c fast mode 0.6 ? ? s bus free time between stop condition and start condition t buf i2c fast mode 1.3 ? ? s capacitive load for each bus line c b i2c fast mode ? ? 400 pf noise margin at a ?l? level in each device connected (including hysteresis) v nl i2c fast mode 0.1 dv dd ? ? v noise margin at a ?h? level in each device connected (including hysteresis) v nh i2c fast mode 0.1 dv dd ? ? v pulse width of spikes which must be suppressed by the input filter t sp i2c fast mode 0 ? 50 ns sda reception possible time, after an oscillation start t pup1 ? 2 ? ? ms p layback time t vcyc ? 20 ? ? ms busyb change time from "h" to "l", after a command is inputted t cb ? ? ? 300 s csb ?h? level pulse width t csw csb use mode 50 ? ? ns oscillation stop time, after playback t osst ? ? ? 500 s next command transmit time in the case of the continuation playback t ncm ? ? ? 10 ms next command transmit time after shifting to a standby state t cms csb use mode 50 ? ? ns disconnection judging time by the disconnect command t dcd ? 100 ? ? ms busyb change time from "l" to "h",after over-current detection of a speaker amplifier t sd ? ? ? 80 s processing time before playback start t plbf ? 0.3 ? 2.1 ms processing time after playback start t plaf ? 0.15 ? 1.2 ms fade-out time at change immediately mode or change immediately once mode t fdo ? ? 22 ? ms note: output pin load capacitance = 45 pf
fedl22q394-02 ML22Q394 9/42 timing diagrams power-on timing spv dd vih vil t rst 5 v reset _ n dv dd 5 v voh vo l busyb osc (internal) voh vo l spp voh vol spm t init csb hi-z hi-z hi-z vih vil t vdd *note1 *note2 performing a reset initializing oscillating oscillation stopped oscillation stopped standby status note 1: turn on dv dd and spv dd simultaneously, or turn on spv dd after turning on dv dd . note 2: when csb use mode is not set, this pin should be fixed to ?h? level or ?l? level.
fedl22q394-02 ML22Q394 10/42 power-down timing (at the reset_n input) reset _ n status p er f orm i ng a rese t initializin g busyb osc (internal) oscillating spp spm oscillating t rst t bs y r t in it playing csb standby oscillation sto pp ed *note note: when csb use mode is not set, this pin should be fixed to ?h? level or ?l? level. i2c command interface timing sd a vil vih vil vih s t hd;sta t low t f t r t hd;dat t high t f sr t sp scl t su;dat t hd;sta t su ; sta t su ;sto p t r t bu f
fedl22q394-02 ML22Q394 11/42 csb use mode play once mode timing t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm t plbf ws2 speaker amplifier enable (internal) hi- z hi- z t vc y c status c omman d process i ng t pup1 scl playing sda osc (internal) awaiting command voh vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp vih vil spm ws3 t plaf ws1 t plbf ws2 hi- z hi-z ws4 awaiting oscillation stop t csw standby t oss t speaker amplifier enable (internal) status playing command processing oscillating oscillating oscillation stable - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 12/42 scheduled play once mode and scheduled play mode timing (continuous play) t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1(m) spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 t plbf ws2(m) t nc m hi-z hi- z speaker amplifier enable (internal) phrase (m) phrase (n) oscillating oscillation stable status playing phrase (m) command processing awaiting command st an d b y scl sd a osc (internal) vo h vol bus y b csb spp vi h vil spm vi h vil vi h vil ws3(n) ws4(n) t plaf hi-z hi-z t osst awaiting oscillation stop playing playing phrase (n) oscillating standby sta tus speaker amplifier enable (internal) - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 13/42 change immediately once mode and change immediately mode timing (continuous play) t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 t plb f ws2(m) ws1(m) hi-z hi-z t ncm speaker amplifier enable (internal) status oscillating oscillation stable playing phrase (m) comm and processing scl sda osc (internal) voh vol busyb csb spp vih vil spm vih vil vih vil t fd o ws3(n) ws4(n) t plaf hi-z hi-z t oss t speaker amplifier enable (internal) status awaiting oscillation stop playing playing phrase (n) oscillating standby phrase (m) stop fade-out processing - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 14/42 timing which stops the playback in scheduled play mode after inputting the stop command, a phrase is played back to the last and the playback is stopped. t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 t plb f ws2 hi-z hi-z t ncm speaker amplifier enable (internal) oscillating oscillation stable command processing scl sd a osc (internal) vo h vol bus y b csb spp vi h vil spm vi h vil vi h vil ws3(n) ws4(n) t plaf hi-z hi-z t osst speaker amplifier enable (internal) status awaiting oscillation stop playing standby (reproduced to the last) oscillating - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 15/42 timing which stops the playback in change immediately mode and change immediately once mode after inputting the stop command, fade-out of the playback is carried out and the playback is stopped. t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 t plb f ws2 hi-z hi-z t ncm speaker amplifier enable (internal) oscillating oscillation stable command processing scl sd a osc (internal) vo h vol bus y b csb spp vi h vil spm vi h vil vi h vil ws3 ws4 t plaf hi-z hi-z t fdo t osst speaker amplifier enable (internal) stat us awaiting oscillation stop playing standby oscillating fade-out processing - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 16/42 disconnection detection timing t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 csb t cb vih vil t dcd disconnect command status oscillating awaiting command under disconnection detection command processing scl sd a osc (internal) bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 csb t cb vi h vil t oss t status under disconnection detection command processing awaiting oscillation stop speaker pin short detection timing osc (internal) vo h vol busyb spp spm hi-z hi-z t sd speaker amplifier enable (internal) speaker pin short detect (internal) sta tus playing standby short detection processing oscillating
fedl22q394-02 ML22Q394 17/42 csb unuse mode play once mode timing t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm t plbf ws2 hi- z hi- z vih vil t vc y c speaker amplifier enable (internal) status command processing t pu p1 scl sda osc (internal) voh vol busyb a a 6 a w a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp spm ws3 t plaf ws1 t plbf ws2 hi- z hi-z ws4 t cms t oss t vih vil speaker amplifier enable (internal) status playing awaiting command awaiting oscillation stop standby playing command processing oscillating oscillating oscillation stable ?h?or?l? fix - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 18/42 scheduled play once mode and scheduled play timing (continuous play) t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1(m) spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 t plbf ws2(m) t nc m hi-z hi- z ?h?or?l? fix vih vil speaker amplifier enable (internal) status oscillating oscillation stable playing phrase (m) comm and pr ocessing awaiting command standby phrase (m) phrase (n) scl sd a osc (internal) vo h vol bus y b csb spp spm vi h vil vi h vil ws3(n) ws4(n) t plaf hi-z hi-z t osst ?h?or?l? fix vi h vil sta tus speaker amplifier enable (internal) oscillating awaiting oscillation stop playing playing phrase (n) standby - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 19/42 change immediately once mode and change immediately timing (continuous play) t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb sp p spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 t plb f ws2(m) ws1(m) hi-z hi-z t ncm ?h?or?l? fi x vi h vi l speaker amplifier enable (internal) status oscillating oscillation stable playing phrase (m) command processing scl sda osc (internal) voh vol busyb csb spp spm vih vil vih vil t fd o ws3(n) ws4(n) t plaf hi-z hi-z t oss t ?h?or?l? fix vih vil speaker amplifier enable (internal) status oscillating phrase (m) stop awaiting oscillation stop playing playing phrase (n) standby fade-out processing - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 20/42 timing which stops the playback in scheduled play mode after inputting the stop command, a phrase is played back to the last and the playback is stopped. t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 t plb f ws2 hi-z hi-z t ncm ?h?or?l? fix vih vil speaker amplifier enable (internal) status oscillating oscillation stable command processing scl sd a osc (internal) vo h vol bus y b csb spp spm vi h vil vi h vil ws3(n) ws4(n) t plaf hi-z hi-z t osst ?h?or?l? fix vi h vil speaker amplifier enable (internal) stat us oscillating awaiting oscillation stop playing standby (reproduced to the last) - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 21/42 timing which stops the playback in change immediately mode and change immediately once mode after inputting the stop command, fade-out of the playback is carried out and the playback is stopped. t pup1 scl sd a osc (internal) vo h vol busyb a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 d 0 d 1 d 2 d 3 d 4 d 5 d 6 d 7 csb t cb spp ws1 spm a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 t plb f ws2 hi-z hi-z t ncm ?h?or?l? fix vi h vil speaker amplifier enable (internal) status phrase (m) stop command os cillating oscillation stable command processing scl sd a osc (internal) vo h vol bus y b csb spp spm vi h vil vi h vil ws3 ws4 t plaf hi-z hi-z t fdo t osst ?h?o r ?l? fix vi h vil speaker amplifier enable (internal) stat us a waiting oscillation stop playing standby oscillating fade-out processing - the wait time of ws1, ws2, ws3, and ws4 can be set up for every phrase, when creating sound data using speech utility. - about this function, refer to ?3. phrasen command? in ?description of command functions?
fedl22q394-02 ML22Q394 22/42 disconnection detection timing t pup1 scl sd a osc (internal) vo h vol bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 csb t cb t dcd ?h?or?l? fix vih vil disconnect command sta tus oscillating awaiting command under disconnection detection command processing scl sd a osc (internal) bus y b a 6 a w a a 5 a 4 a 3 a 2 a 1 a 0 csb t cb t oss t ?h?or?l? fix vih vil status under disconnection detection command processing awaiting oscillation stop speaker pin short detection timing osc (internal) vo h vol busyb spp spm hi-z hi-z t sd speaker amplifier enable (internal) speaker pin short detect (internal) sta tus playing standby short detection processing oscillating
fedl22q394-02 ML22Q394 23/42 functional description i2c command interface the i2c interface built-in is a serial interface (: slave side) that is compliant with i2c bus specification. it supports fast mode and enables data reception at 400 kbps. the scl and sda pins are used to input the command data. pull-up resister should be connected to scl pin and sda pin. for the master on the i2c bus to communicate with this device (: slave), input the slave address with the first seven bits after setting the start condition. the slave address can be set using the speech utility. the eighth bit of slave address is used to set the direction (: write or read) of communication. if the eighth bit is ?0? level, it is write mode from master to slave. and, if the eighth bit is ?1? level, it is read mode from master. the communication is made in the unit of byte. and acknowledge is needed for each byte. the protocol of i2c communication is shown below. ? command flow at data write start condition slave address +w (0) write address stop condition y data write timing scl sda s a6 a 5 a 4 a 3 a 2 a 1 a 0 a w d7 d 6 d 5 d4 d3 d2 d1 a d0 a a slave address command data p busyb status the slave address can perform a 7-bit setup on the option screen of speech utility shown in figure.1. figure .1 the option screen of speech utility
fedl22q394-02 ML22Q394 24/42 setup by speech utility a6 a5 a4 a3 a2 a1 a0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 0 1 0 0 ? ? ? 1 1 1 1 1 1 0 1 1 1 1 1 1 1 for example, when it sets to "5" on the option screen of fig. 1, a slave address is set to "0000101". command list each command is configured by the unit of byte (8-bit). command d7 d6 d5 d4 d3 d2 d1 d0 description stop 0 0 0 0 0 0 0 0 stop command. the stop command becomes effective except the phrase in play once mode and scheduled play once mode. disconnect 0 0 0 0 0 0 0 1 disconnection detection command. please input the stop command, after you use the disconnect command. phrase2 v2 v1 v0 0 0 0 1 0 phrase3 v2 v1 v0 0 0 0 1 1 phrase31 v2 v1 v0 1 1 1 1 1 phrase command voice synthesis algorithm four types of voice synthesis algorithm are supported. they are 4-bit adpcm2, 8-bit non-linear pcm, 8-bit straight pcm and 16-bit straight pcm. select the best one according to the characteristics of voice. the following table shows key features of each algorithm. voice synthesis algorithm applied waveform feature 4-bit adpcm2 normal voice waveform up version of lapis semiconductor?s specific voice synthesis algorithm (: 4-bit adpcm). voice quality is improved. 8-bit nonlinear pcm algorithm, which plays back mid-range of waveform as 10-bit equivalent voice quality. 8-bit straight pcm normal 8-bit pcm algorithm 16-bit straight pcm waveform including high frequency signals (sound effect, etc.) normal 16-bit pcm algorithm
fedl22q394-02 ML22Q394 25/42 memory allocation and creating voice data the rom is partitioned into four data areas: voice (i.e., phrase) control area, test area, voice area, and edit rom area. the voice control area manages the voice data in the ro m. it contains data for controlling the start/stop addresses of voice data for 1,024 phrases, use/non-use of the edit rom function and so on. the test area contains data for testing. the voice area contains actual waveform data. the edit rom area contains data for effective use of voi ce data. for the details, refer to the section of ?edit rom function.? the edit rom area is not available if the edit rom is not used. the rom data is created using a dedicated tool. voice control area (fixed 4 kbits) prohibition of use area (fixed 64 kbits) configuration of rom data 0x00000 0x01fff 0x02000 voice area 2 max.0x0fbff max.0x0fbff edit rom area depends on creation of rom data. test area 0x0fc00 0x0ffff 0x0ffff 0x10000 0x101ff voice area 1 0x10200 0x17fff playback time and memory capacity the playback time depends on the memory capacity, sampling frequency, and the playback method. the equation to know the playback time is shown below. but this is not applied if the edit rom function is used. playback time [sec] = 1.024 (voice area 1 + voice area 2) [kbits] sampling frequency [khz] bit length (bit length is 4 at the 4-bit adpcm2 and 8/16 at the pcm.) example) in the case that the sampling frequency is 8 khz, algorithm is 4-bit adpcm2, the playback time is approx. 22.1 seconds, as shown below. playback time = 1.024 692 [kbits] 8 [khz] 4 [bits] ?
fedl22q394-02 ML22Q394 26/42 edit rom function the edit rom function makes it possible to play back multiple phrases in succession. the following functions are set using the edit rom function: x continuous playback: there is no limit to set the number of times of the continuous playback. it depends on the memory capacity only. x silence insertion function: 20ms to 1,024 ms note: silent insertion time varies for 1ms by the sampling frequency it is possible to use voice rom effectively to use the edit rom function. below is an example of the rom structure, case of using the edit rom function. example 1) phrases using the edit rom function phrase 2 phrase 3 phrase 4 phrase 5 a d a c e b e c phrase 6 d d d b a d b e c d silence example 2) structure of the rom that contents of example 1 are stored a b c d e address control area editing area
fedl22q394-02 ML22Q394 27/42 notice of silence insertion function if it is only silence phrase registered, please put in order three or more silence phrase. the phrase which is constituted from one or two of silence phrase does not playback. example 3) phrase composition in the case of using silence insertion function the phrase to playback (the phrase 2 is playbacked twice on both sides of 1 sec silence.) a d b 1 sec which is constituted by the three silences is registered as the phrase 8. silence a b d phrase 2 phrase 2 phrase 8 1sec silence silence 336ms silence insertion silence silence 336ms silence insertion 328ms silence insertion
fedl22q394-02 ML22Q394 28/42 speaker pin short detection function the speaker pin short detection function detect the short-circuit between spp pin and spm pin, or between spp/spm pin and gnd during playback. when short-circuit of a speaker pin is detected, the playback will be stopped automatically, busyb pin will become "h" level, and lsi will become in a standby state. in addition, this function can be set up with the option screen of speech utilty. please refer to a "mask option setting setting item" for the option screen of speech utilty. sda busyb spp/spm status phrase hi-z awaiting command standby playing command processing speaker pin short hi-z speaker pin short detection function -- effective standby awaiting command playing forced outage by speaker pin short detection phrase command processing speaker pin short detection function -- effective
fedl22q394-02 ML22Q394 29/42 description of command functions 1. stop command x command 0 0 0 0 0 0 0 0 the stop command is used to stop the playback. busyb pin will become "h", if the playback is stopped. the stop command becomes effective except the phrase in play once mode and scheduled play once mode. when you use play once mode or scheduled play once mode, the stop command is ignored. when you use scheduled play mode, a phrase is played back to the last and the playback is stopped, after the stop command is inputted. furthermore, when you use change immediately once mode or change immediately mode, fade-out of the playback is carried out and the playback is stopped, after the stop command is inputted. x stop command operation in the case of scheduled play mode x stop command operation in the case of change immediately once mode or change immediately mode sda busyb spp/spm status hi-z awaiting command standby playing command processing standby fade-out phrase stop command sda busyb spp/spm status hi-z standby pla y in g ( p la y back to the las t ) command processing standby phrase stop command awaiting command
fedl22q394-02 ML22Q394 30/42 2. disconnect command x command 0 0 0 0 0 0 0 1 the disconnect command is used to diagnose whether the speaker is disconnected or not. when the speaker is disconnected, busyb pin outputs "l". please input the stop command, after you use the disconnect command. sda busyb status disconnectcommand stopcommand awaiting command standby under speaker disconnection detection command processing command processing standby t dcd disconnection judgment l: disconnect h: connect
fedl22q394-02 ML22Q394 31/42 3. phrasen (n = 2 to 31) command x command v2 v1 v0 f4 f3 f2 f1 f0 the phrasen (n = 2 to 31) command is used to start playback phrase. when you create the voice data, please set up the phrase address using speech utility. the timing in the case of the playback a phrase address below is shown. the phrasen(n=2 to 31) command can perform a volume setup. when v2-v0 is ?000?, the volume setup of voice cntrol area is used. v2 v1 v0 volume [db] 0 0 0 the volume setup of voice control area is used. 0 0 1 +2.98 0 1 0 +1.78 0 1 1 0 1 0 0 -2.25 1 0 1 -5.28 1 1 0 -9.99 1 1 1 -21.04 a a sda busyb spp/spm status phrase hi-z awaiting command standby playing command processing a6 a5 a4 a3 a2 a1 a0 v1 v0 f4 f3 f2 f1 f0 v2 volume scl w slave address
fedl22q394-02 ML22Q394 32/42 each phrase can set up the wait time before and after playback, a volume setup, and playback mode using speech utility. figure .2 the option screen for every phrase of speech utility 1) wait time setting before and after playback (ws1, ws2, ws3, ws4) each phrase can set up the wait time before and after playback. since it is an option setup, change will be impossible once it sets up. ws1: time after inputting a phrase address, until spp/spm pins are enabled. ws2: time after spp/spm pins are enabled, until playback is started. ws3: time after playback is completed, until spp/spm pins are disabled. ws4: time after spp/spm pins are disabled, until it will be in a standby state. ws1-ws4 can be arbitrarily set up between 0 to1020ms (4ms unit). 2) volume setup (volume) each phrase can set up the volume setup. since it is an option setup, change will be impossible once it sets up. value [hex] volume [db] value [hex] volume [db] value [hex] volume [db] 00h +2.98 0ah -0.41 15h -6.87 01h +2.70 0bh -0.83 16h -7.79 02h +2.40 0ch -1.28 17h -8.82 03h +2.10 0dh -1.75 18h -9.99 04h +1.78 0eh -2.25 19h -11.34 05h +1.45 0fh -2.77 1ah -12.94 06h +1.11 10h -3.34 1bh -14.90 07h +0.76 11h -3.94 1ch -17.44 08h +0.39 12h -4.58 1dh -21.04 09h +0.00 13h -5.28 1eh -27.31 14h -6.04 1fh off sda busyb spp/spm status phrase hi-z awaiting command standby playing command processing standby ws1 ws2 ws3 ws4 awaiting oscillation stop
fedl22q394-02 ML22Q394 33/42 3) playback mode setup playback mode can be set up for every phrase. since it is an option setup, change will be impossible once it sets up. playback mode operation play once this mode is playback once. all the commands become invalid during playback. scheduled play once when the following phrase is inputted into playback, after playback of the present phrase is completed, playback of th following phrase starts. even if stop command is inputted during playback, it will be ignored. change immediately once when the following phrase is inputted into playback, playback of the present phrase is ended on the way, and playback of the following phrase starts. scheduled play the playback continues until the following command will be inputted, if playback starts. when the following command is inputted into playback, after playback of the present phrase is completed, the following command is executed. change immediately the playback continues until the following command will be inputted, if playback starts. when the following phrase is inputted into playback, playback of the present phrase is ended on the way, and playback of the following phrase starts. x play once mode x scheduled play once mode sda busyb status standby playing phrase (m) command processing voice output ?good morning? ?good afternoon? playing phrase (n) standby phrase ? phrase ? awaiting command sda busyb status phrase ? standby playing phrase (m) command processing voice output ?good morning? ?good afternoon? playing phrase (n) command processing awaiting command standby awaiting command standby phrase ?
fedl22q394-02 ML22Q394 34/42 x change immediately once mode x scheduled play mode x change immediately mode sda busyb status playing phrase (m) voice output ?good morning? playing phrase (m) standby ?good m o ? fade-out standby command processing awaiting command stop command phrase ? sda busyb status playing phrase (m) voice output ?good morning? ?good morning? playing phrase (m) standby stop command standby command processing awaiting command phrase ? sda busyb status playing phrase (m) ?good m o ? ?good afternoon? playing phrase (n) standby fade-out standby command processing awaiting command voice output phrase ? phrase ?
fedl22q394-02 ML22Q394 35/42 mask option setting figure .3 the mask option setting screen of speech utility explanation of each option is shown in the following page. (1) (2) (3) (4) (5) (6) (7) (8) (9)
fedl22q394-02 ML22Q394 36/42 parameter function explanation (1) use of speaker short detective on or off selection of a short detection function if a check box is turned on, a short detection circuit will become effective. seq pins setting interface setup seq1 busyb setup (2) use seq1 use or unuse selection of busyb if a check box is turned on, a busyb pin can be used. if a check box is turned off, a busyb pin does not function but the fixed output of the initial value is carried out. (3) initial state initial output level selection of busyb the initial value of a busyb pin at voice stop can be chosen. l level output l level output the "l" level is outputted at voice stop. h level output h level output the "h" level is outputted at voice stop. (4) condition busyb condition setup busyb condition can be chosen. cmos cmos output a busyb pin become a cmos output. usually, please use this setup. nch open drain nch open drain output the "l" level is outputted at the ?l? level. high impedance is outputted at the h" level. pch open drain pch open drain output the "h" level is outputted at the ?h? level. high impedance is outputted at the l" level. hi-z high impedance output high impedance is always outputted. when busyb use mode is set up, please do not use it. csb pins setting csb setup (5) initial state csb input level the initial value of a csb pin at standby can be chosen. l level input l level input the "l" level is inputted at standby. h level input h level input the "h" level is inputted at program operation. (6) condition csb condition setup csb condition can be chosen. pch pull-up pch pull-up input built-in pull-up resistance can be used. hi-z high impedance input it is used at cmos connection. usually, please use this setup. (7) use csb use or unuse selection of csb if a check box is turned on, he interface using a csb pin is attained. if a check box is turned off, two terminal interface of scl and sda is attained. i2c pins setting i2c setup the i2c condition can be set up. (8) slave address slave address setting 7-bits slave address can be set up. (9) acknowledge setting acknowledge level setup the level of the acknowledge signal outputted at the time of termination of reception can be set up.
fedl22q394-02 ML22Q394 37/42 the pull-up resistor value of scl and sda pin the pull-up resistor value of scl and sda pin is computed as follows. ? minimum value (r p .min): r p .min = (v dd -v ol .max)/i ol - v dd : power supply voltage - v ol .max: the maximum output "l" level of a driver - i ol : sink current of a driver for example, in this case of v dd =5v, v ol .max=0.4v, and i ol =3ma, it is calculated as follows. r p .min = (5v ? 0.4v)/3ma ? 1.5k ? ? maximum value (r p .max): r p .max = 300ns/[maximum capacitance of a bus (f)] for example, in this case of the maximum capacitance of a bus is 100pf, it is calculated as follows. r p .max = 300ns/100pf ? 3.0k ? termination of the v ddl pin the v ddl pin is the regulator output that is power supply pin for the internal logic circuits. connect a capacitor between this pin and the ground in order to prevent noise generation and power fluctuation. the recommended capacitance value is shown below. however, it is important to evaluate and decide using the own board. also, start the next operation after each output voltage is stabilized. pin recommended capacitance value remarks v ddl 10 f 20% the larger the connection capacitance, the longer the settling time.
fedl22q394-02 ML22Q394 38/42 power supply wiring the power supplies of this lsi are divided into the following two: ? power supply for logic circuitry (: dv dd ) ? power supply for speaker amplifier (: spv dd ) the example of power connection is shown below. dv dd spv dd dgnd spgnd 5v dv dd spv dd dgnd spgnd 3v 5v - turn on dv dd and spv dd simultaneously, or turn on spv dd after turning on dv dd . - turn off dv dd and spv dd simultaneously, or turn off dv dd after turning on spv dd .
fedl22q394-02 ML22Q394 39/42 application circuit 0.1f 0.1f 10f spp spm reset_n csb scl sda busyb test spv dd dv dd v ddl dgnd spgnd 5v mcu r p r p
fedl22q394-02 ML22Q394 40/42 package dimensions notes for mounting the surface mount type package the surface mount type packages are very susceptible to heat in reflow mounting and humidity absorbed in storage. therefore, before you perform reflow mounting, contact rohm?s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). ( unit: mm )
fedl22q394-02 ML22Q394 41/42 revision history page document no. date previous edition current edition description fedl22q394full-01 oct. 23, 2012 ? ? final edition 1 fedl22q394-02 jun. 06, 2014 ? 27 add notice of silence insertion function
fedl22q394-02 ML22Q394 42/42 notes no copying or reproduction of this document, in part or in whole, is permitted without the consent of lapis semiconductor co., ltd. the content specified herein is subject to change for improvement without notice. examples of application circuits, circuit constants and any other information contained herein illustrate the standard usage and operations of the products. the peripheral conditions must be taken into account when designing circuits for mass production. great care was taken in ensuring the accuracy of the information specified in this document. however, should you incur any damage arising from any inaccuracy or misprint of such information, lapis semiconductor shall bear no responsibility for such damage. the technical information specified herein is intended only to show the typical functions of and examples of application circuits for the products. lapis semiconductor does not grant you, explicitly or implicitly, any license to use or exercise intellectual property or other rights held by lapis semiconductor and other parties. lapis semiconductor shall bear no responsibility whatsoever for any dispute arising from the use of such technical information. the products specified in this document are intended to be used with general-use electronic equipment or devices (such as audio visual equipment, office-automation equipment, communication devices, electronic appliances and amusement devices). the products specified in this document are not designed to be radiation tolerant. while lapis semiconductor always makes efforts to enhance the quality and reliability of its products, a product may fail or malfunction for a variety of reasons. please be sure to implement in your equipment using the products safety measures to guard against the possibility of physical injury, fire or any other damage caused in the event of the failure of any product, such as derating, redundancy, fire control and fail-safe designs. lapis semiconductor shall bear no responsibility whatsoever for your use of any product outside of the pr escribed scope or not in acco rdance with the instruction manual. the products are not designed or manufactured to be used with any equipment, device or system which requires an extremely high level of reliability the failure or malfunction of which may result in a direct threat to human life or create a risk of human injury (such as a medical instrument, transportation equipment, aerospace machinery, nuclear-reactor controller, fuel-controller or other safety device). lapis semiconductor shall bear no responsibility in any way for use of any of the pr oducts for the above special purposes. if a product is intended to be used for any such special purpose, pleas e contact a rohm sales representative before purchasing. if you intend to export or ship overseas any product or technology specified herein that may be controlled under the foreign exchange and the foreign trade law, you will be required to obtain a license or permit under the law. copyright 2012-2014 lapis semiconductor co., ltd.


▲Up To Search▲   

 
Price & Availability of ML22Q394

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X